﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Apworks;

namespace TinyForum.Domain.Model
{
    public class Reply : ContentBase, IAggregateRoot
    {
        //private Post post;
        private long postID;

        protected Reply() { }

        public Reply(long postID)
        {
            this.postID = postID;
        }

        public virtual long PostID
        {
            get { return this.postID; }
        }

        public override string ToString()
        {
            return this.title;
        }
    }
}
